public class Three {
	public static void main(String[] args){
	for(int j=3;j<=9;j++){
	System.out.println("3"+"*"+j+"="+(3*j)+"");
	}
	}
}